<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎登录后台管理系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/about.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="js/jquery.js"></script>


<script language="javascript">
	$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
});  
</script>

</head>

<body
	style="background-image: url(images/xingkong.jpg); background-repeat: no-repeat;">




	<div class="logintop">
		<span>欢迎登录第六组后台管理界面平台</span>
	</div>
	<div id="nav">
		<ul>
			<li class="menu2" onMouseOver="this.className='menu1'"
				onMouseOut="this.className='menu2'">关于
				<div class="list">
					<a>梁广寓</a><br /> <a>陈育浩</a><br /> <a>陈康鹏</a><br /> <a>吴铭轩</a><br />
					<a>杨颖彬</a><br /> <a>钱振威</a><br />
				</div>
			</li>
		</ul>
	</div>

	<div class="loginbody">

		<div class="systemlogo"
			style="background-image: url(images/logo11.png)"></div>

		<div class="loginbox" style="background-image: url(images/denglu.png)">
			<%
        Object message = request.getAttribute("message");
        if (message != null && !"".equals(message)) {
    %>
			<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
              var  asd=request.getAttribute("username");         
    </script>
			<%
        }
    %>
			<form action="Servlet?method=dopost" method="post">
				<ul>
					<li><input name="username" type="text" class="loginuser"
						value="用户名" onclick="JavaScript:this.value=''" /></li>
					<li><input name="password" type="password" class="loginpwd"
						onclick="JavaScript:this.value=''" /></li>
					<li>
						<th><font color="white">类别</font></th> <select name="leibie">
							<option>学生</option>
							<option>老师</option>
							<option>管理员</option>
					</select>
					</li>
			</form>
			<li><input name="" type="submit" class="loginbtn" value="登录" style="float:left;"/><label>
					<input name="" type="checkbox" value="" checked="checked" /><font
					color="white">记住密码</font> <input name="" type="checkbox" value=""
					checked="checked" /><font color="white">自动登录</font>
			</label> <label><font color="white">忘记密码？</font></label></li>
			</ul>


		</div>

	</div>



	<div class="loginbm">
		<p style="font-size: 25px; color: white">版权所有第六组，仅供实训使用，如用于任何商业用途，记得打钱</p>
	</div>
	</form>
</body>
</html>
